package com.leyou;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author wgc
 * @create 2019-03-31 14:37
 */
@EnableEurekaServer
@SpringBootApplication
public class LyRegistryApplication {
   protected static  Logger logger = LoggerFactory.getLogger(LyRegistryApplication.class);
    public static void main(String[] args) {
        logger.info(">>>>>>>>>开始启动注册中心>>>>>>>>>>");
        SpringApplication.run(LyRegistryApplication.class);
        logger.info(">>>>>>>>>启动注册中心 successfully>>>>>>>>>>");

    }
}
